Add black-box e2e test for start_agent EventHandler action - #1548
Draft
kowser-orkes wants to merge 8 commits into
Draft
Add black-box e2e test for start_agent EventHandler action#1548kowser-orkes wants to merge 8 commits into
kowser-orkes wants to merge 8 commits into
Conversation
Ports basicAgentConfig/deployAgent/workerTool from AgentTaskTests.
e2e now depends on the local :conductor-common module, since no published conductor-client release includes start_agent yet. Single EventHandler + EVENT-task workflow reused across all tests to avoid paying the 60s queue-refresh delay once per test.
Warm-up repeatedly fires a throwaway agent until the shared EventHandler's queue is confirmed live, replacing a blind 60s sleep. Folds stage 5's helpers in early since warm-up depends on fireStartAgent.
Bogus-model agent deployed via the real pipeline, fired through the shared EventHandler, found via correlationId, asserted FAILED.
Blocking agent (prefillTools + unpolled worker) started through the shared EventHandler, terminated directly via REST once RUNNING.
Real hello-world agent, live LLM, gated on OPENAI_API_KEY. Reads the compiled agent's own output.result field for the final answer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request type
NOTE: Please remember to run
./gradlew spotlessApplyto fix any format violations.Changes in this PR
start_agentEventHandler action, against a real running serverIssue #CCOR-13315
Depends on
conductor-clientrelease containingstart_agent—e2e/build.gradlestill pins6.0.0.rc3, does not compile without it or a local workaroundAlternatives considered
WorkflowDef-based agent, in-process, no real queue — already covered by a separate existing in-process testEVENTtask'ssink: conductoralready routes through the server's own built-inQueueDAOqueue